<?php

/**
 * @author phuocndt
 * @copyright 2010
 */
 
?>
<?php            
    $account_query = tep_db_query("select customers_firstname, customers_lastname from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");
    $account = tep_db_fetch_array($account_query);
?>
<span class="welcome">
    <?php if (!tep_session_is_registered('customer_id')) { ?>
        <strong>Chào mừng đến với website</strong>, <a href="$urlmyaccount" title="Đăng nhập">Đăng nhập</a>
    <?php }else{ ?>
        <strong>Xin chào</strong>,                 
        <a href="account.php">
            <?php echo $account['customers_firstname'].' '.$account['customers_lastname']; ?>
        </a>
    <?php } ?>
</span>